package Computer;

import java.util.Queue;

/**
 * Scheduler class.
 * 
 * @author Stephen Amos, Zach Turk, Dickson Kwong
 *
 */

public class Scheduler {

	public Scheduler() {
		
	}
	
	/**
	 * @param ready_list
	 * @return The process that should run next.
	 */
	public int next(Queue<PCB> ready_list) {
		return ready_list.poll().getPID();
	}
}
